package com.spsoft.system.service.impl;

import com.spsoft.core.utils.StringUtil;
import com.spsoft.system.entity.NvatChoiceofunitext;
import com.spsoft.system.mapper.NvatChoiceofunitextMapper;
import com.spsoft.system.service.NvatChoiceofunitextService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * ??????????? 服务实现类
 * </p>
 *
 * @author dingchengyun
 * @since 2024-02-27
 */
@Service
public class NvatChoiceofunitextServiceImpl extends ServiceImpl<NvatChoiceofunitextMapper, NvatChoiceofunitext> implements NvatChoiceofunitextService {
    @Override
    public boolean querySFQYDZFPByjyjg(String jyjg) {
        String SFQYDZFP = super.baseMapper.querySFQYDZFPByjyjg(jyjg);
        if (StringUtil.isEmpty(SFQYDZFP) || "0".equals(SFQYDZFP)) {
            return false;
        }
        return true;
    }

}
